<template>
  <div>
    <div id="home" class="col-sm-12 text-center">
      <div class="background">
        <h1>欢迎大家品尝煲仔饭</h1>
        <h2>这里有你非常喜欢的煲仔饭</h2>
        <button @click="goToMenu" class="btn btn-success">let's order!</button>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "Home",
  methods: {
    goToMenu() {}
  }
};
</script>

<style  scoped>
#home{
  background: url('../../src/assets/011.jpg');
  height: 85vh;
  padding: 10%;
}

h1,h2{
  margin: 6%;
}

.background{
  background: #eee;
  opacity: 0.8;
  max-width: 70vw;
  margin: 0 auto;
  padding: 20px 0;
}
</style>
